package cn.tedu.mybatisdemo.pojo.entity;

import lombok.Data;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

import java.util.Date;
//@Data::可以生成get，set方法，hashCode，equals，无参构造等方法
@Data
@Component
public class Student {
    private Integer id;
    private String name;
    private Integer age;
    private String gender;
    private String job;
    private Date birth;
    private Integer locationId;
    private Integer teamLeader;
    private Integer classId;



}
